﻿namespace instamuz.Application.BootstrapperTasks
{
    using AutoMapper;
    using Domain.Profiles;
    using JetBrains.Annotations;
    using MvcExtensions;
    using Profiles;

    [UsedImplicitly]
    public class RegisterMappings : BootstrapperTask
    {
        public override TaskContinuation Execute()
        {
            Mapper.AddProfile<ApplicationProfile>();
            Mapper.AddProfile<DomainProfile>();

            return TaskContinuation.Continue;
        }
    }
}